import 'package:boss/textStyle/text_style.dart';
import 'package:boss/ui/page/commodity/material/page/materialDetail/material_detail_page.dart';
import 'package:hi_common/hi_common.dart';
import 'package:flutter/material.dart';

class MaterialPickerPlusBtn extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: () async {
        Navigator.pushNamed(context, MaterialDetailPage.pageName);
      },
      child: Container(
        padding: EdgeInsets.symmetric(
          vertical: ScreenUtil.instance.setWidth(37.5),
        ),
        child: Text(
          '+新增加料配菜',
          style: TextStyleConstant().blue_28,
        ),
      ),
    );
  }
}
